
const state = {
    path: "/dashbord",
}

const mutations = {
    getPath(state, payload) {
        if (payload instanceof Array) {
            state.path = payload.join("/");
        }
    }
}

export default {
    namespaced: true,
    state,
    mutations
}